package com.gongj.spring;

public class SpringApplication {

    public static void main(String[] args) {
        //启动 扫描指定路径下的类 创建非懒加载的单例bean
        Application application = new Application(AppConfig.class);
        System.out.println(application.getBean("userService"));
        System.out.println(application.getBean("userService"));

        System.out.println(application.getBean("userService"));

    }

}
